package net.linku.model.req.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description: 登录请求参数
 * @date: 2024/7/9
 * @version: 1.0
 */
@Data
@ApiModel(description = "登录请求参数")
public class LoginRequestParams {

    @NotNull(message = "管理员账户的名称不能为空")
    @ApiModelProperty(value = "管理员账户的名称", required = true, example = "admin")
    private String accountCode;

    @NotNull(message = "管理员账户的密码不能为空")
    @ApiModelProperty(value = "管理员账户的密码", required = true, example = "password123")
    private String password;
}
